package com.zhu.aliyun.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;

public interface FileUploadService {
    String upload(MultipartFile file);

    String download(String fileName, HttpServletResponse response) throws UnsupportedEncodingException;

    String delete(String fileName);

    void removeFile(String url);
}
